package com.example.demo.annotation;

import com.example.demo.enums.Operator;
import java.lang.annotation.ElementType;
import java.lang.annotation.Repeatable;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

@Repeatable(ConditionOperators.class)
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.METHOD, ElementType.FIELD})
public @interface ConditionOperator {
    String name() default "";

    Operator operator() default Operator.Equal;
}
